//在这里面导入Vue然后一直报错浪费了半天时间。。。。
import {createRouter,createWebHistory} from 'vue-router'
import Container from '@/view/Container.vue'
import Register from '@/view/Register.vue'

const router =createRouter({
	history: createWebHistory(import.meta.env.BASE_URL),
	routes: [
		{
			path:'/',
			name:'/',
			component: Container
		},
		{
			path:'/regist',
			component: Register
		},
	]
})

export default router